package com.taozi.netty.socketio.use.classroomchat.entity.entity.education;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 *
 * 课堂聊天信息
 *
 * @author mingtao
 */
@Data
public class ClassroomChat{

    /** 主键id **/
    private Integer id;

    /** 课堂id **/
    private Integer classroomId;

    /** 参与人Id **/
    private Integer userId;

    /** 参与人姓名 **/
    private String userName;

    /** 发送消息 **/
    private String msgContent;

    /** 发送时间 **/
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date sendTime;


}